@charset "utf-8";


/** Notice Box **/
.board-notice	{ width: 264px; padding: 10px; margin: 0 auto; text-align: center; box-sizing: border-box; }



#page_board_content	{ padding: 0 10px; margin: 0 auto; }



.qna-box		{ overflow: hidden; }

.ui-option					{ clear: both; padding-bottom: 10px;  font-weight: 800; letter-spacing: 1px; }
.ui-write-box				{ margin: 0 auto; width: 100%; overflow: hidden; }
.ui-write-box textarea		{ width: 100%; height: 100px; padding: 10px; box-sizing: border-box; }
.ui-control					{ padding: 20px 0; overflow: hidden; text-align: right; }

.ui-write-area.top			{ margin-bottom: 20px; }

.ui-qna-list					{ position: relative; clear: both; margin: auto auto 40px;  background: #fff; padding: 20px 20px 40px 20px; } 
.ui-qna-list li					{ position: relative; }
.ui-qna-list li p				{clear: both;line-height: 1.5em;overflow: hidden;}
.ui-qna-list li p i				{ position: relative; font-style: normal; padding-right: 10px; margin-right: 5px; }
.ui-qna-list li p em			{font-style: normal;margin-right: 2px;font-weight: bold;}
.ui-qna-list li span strong a	{ display: inline-block; font-size:9px; padding: 2px 5px; font-weight: normal; }
.ui-qna-list li p span.date		{ float: right; opacity: .5;}
.ui-qna-list li .qna-content	{
	width: fit-content;
	padding: 6px 16px;
	word-break: break-all;
}

.chat-rigth {
	display: flex;
    flex-direction: row-reverse;
}

.chat-left {
	display: flex;
    flex-direction: row;
}

.chat-n {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chat-n ul{
	margin: -4px !important;
}

/*100px을 수정하면 긴 메세지가 어디서 잘리는지 조정 가능 */
.chat-rigth strong {
	margin: 0px 4px 0px 100px;
}
.chat-left strong {
	margin: 0px 100px 0px 4px;
}

/*나레이션*/
.n{
    text-align: center;
    padding: 8px 20px !important;
    width: 100% !important;
    color: #333 !important;
    font-style: italic;
    border-radius: 4px;
    line-height: 1.2;
}

/*캐릭터별 글자색을 바꾸려면 color: (색상코드) !important;을 추가하세요!*/
/*왼쪽 채팅*/
.l	{ 
	border-radius: 10px;
	float: left;
	background-color: #cccccc;
	max-width: 600px;
}

/*오른쪽 채팅*/
.r	{
	max-width: 600px;
	border-radius: 10px;
	text-align: end;
	float: right;
}

.ui-qna-list li .qna-comment-content	{border-radius: 10px 10px 0 10px; margin-bottom: 15px;  padding: 6px 16px; text-align: end; width: fit-content;background: #c3ccb7; }

.ui-qna-list li ul				{ margin-left: 120px; padding-top: 15px; }

.ui-qna-list li ul li					{ padding: 0; display: flex; justify-content: flex-end;}
/*.ui-qna-list li ul li p					{ position: absolute; margin-left: -45px;  }*/
.ui-qna-list li ul li strong			{ float: right; }

.ui-qna-list .ui-qna-list-password label		{ padding-right: 10px; }
.ui-qna-list .ui-qna-list-password label.blur	{ text-shadow: none; }
.ui-qna-list .ui-qna-list-password input		{ position: relative; z-index: 1; }
.ui-qna-list .ui-qna-list-password button		{ 
	height: 28px; line-height: 28px; padding: 0 25px;
	font-family: 'Dotum'; margin-left: -5px; border-left-width: 0;

}


/* 캐릭터 목록 */
#page_board_content {
	/* position: relative; */
}
.character-manage {
	position: absolute;
	width: fit-content;
	height: fit-content;
	z-index: 99;
	background-color: transparent;
}
.character-manage .cha-li-table {
	margin-top: 12px;
}
.list-wrapper {
	max-width: 670px;
	display: none;
	box-shadow: 0 0 5px 0px #00000070;
	background: #ffffff;
	border-radius: 15px;
	margin-top: 12px;
	padding: 4px 0 16px 0;
}
.list-wrapper.toggle {
	display: block;
}
.cha-li-table thead tr {
	height: 36px;
}
.cha-li-table .cha-li {
	height: 60px;
}
.character-manage .cha-li,
.character-manage .new-cha {
	text-align: center;
}
.pro-img img{
	display: inline-block;
	width: 48px;
	height: 48px;
	background-color: #cccccc;
	border-radius: 50%;
}
.li-c-btn,
.li-c-add {
	text-align: left;
}
.li-c-btn button,
.li-c-add button {
	border: none;
	appearance: none;
	outline: none;
	padding: 2px 4px;
	background: transparent;
	margin-right: 8px;
}
.li-c-add button {
	border: 1px solid #666666;
	padding: 4px 12px;
	border-radius: 5px;
}
.cha-li-table input[type=text],
.cha-li-table input[type=file] {
	border: 1px solid #666666 !important;
	border-radius: 5px;
	outline: none;
}
.cha-li-table input[type=color] {
	border: 1px solid #333333;
	appearance: none;
	width: 30px;
	height: 30px;
	background: transparent;
}
::-webkit-color-swatch {
  border: none;
}

.new-cha {
	pointer-events: none;
	opacity: 0;
}
.new-cha.toggle {
	pointer-events: all;
	opacity: 1;
}

.cha-li-table .bg-color input[type=text],
.cha-li-table .text-color input[type=text],
.cha-li-table .new-bg-color input[type=text],
.cha-li-table .new-text-color input[type=text] {
	width: 70%;
}
.cha-add-btn {
	position: absolute !important;
	right: 0;
	bottom: 0;
	margin-right: 18px;
	margin-bottom: 16px;
}
.chat-pro {
	flex-shrink: 0;
}

.chat-pro img,
.chat-pro .empty-pro{
	width: 48px;
	height: 48px;
	background-color: #cccccc;
	border-radius: 50%;
}
.chat-pro.right {
	margin-left: 12px;
}
.chat-pro.left {
	margin-right: 12px;
}
.chat-name-r {
	text-align: right;
}


@media all and (max-width: 370px) {
	.ui-qna-list .ui-qna-list-password		{ position: relative; padding-right: 90px; }
	.ui-qna-list .ui-qna-list-password .ui-submit	{ position: absolute; top: 0; right: 0; width: 90px; }
	.ui-qna-list .ui-qna-list-password input		{ width: 100%; }
}

.ui-qna-list li div.ui-write-area					{ padding: 0; margin-left: 80px; background: transparent; background: none; margin-bottom: 10px; border: none; }
.ui-qna-list li div.ui-write-area button			{ white-space:nowrap; height: 28px; line-height: 28px; padding: 0 25px; margin-top: 10px; }
.ui-qna-list li div.ui-write-area textarea			{
	width: 100%;
	height: 100px;
	padding: 10px;
	box-sizing: border-box;
	border: none;
	word-break: break-all;
}
.ui-qna-list .no-data			{ text-align: center; line-height: 100px; padding-bottom: 50px; }

.search-box			{ clear: both; float: right; margin-bottom: 10px; }


@media all and (max-width: 535px) {
	.ui-control button	{ display: block; clear: both; width: 100%; margin-top: 10px; }
}
@media all and (max-width: 435px) {
	.ui-control input[type="text"],
	.ui-control input[type="password"]	{ display: block; clear: both; width: 100%; margin-top: 10px; }
	.ui-qna-list	{ padding: 10px 0; }
}

@media all and (max-width: 380px) {
	.ui-qna-list .ui-qna-list-password label	{ display: none; }
}